package com.ilink.ilinkuser.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ilink.ilinkuser.DTO.UserApiKeyUpdateAndDeleteRequest;
import com.ilink.ilinkuser.DTO.UserApiKeysRequest;
import com.ilink.ilinkuser.domain.VO.UserApiKeyResponse;
import com.ilink.ilinkuser.entity.Model;
import com.ilink.ilinkuser.entity.ModelApiKey;
import com.ilink.ilinkuser.entity.UserApiKeys;

import java.util.List;
import java.util.Map;

public interface UserApiKeysService    {
    List<Map<String,Object>> getUserApiKeysByUserIdAndModelId(String userId, Long modelId);
    boolean saveUserApiKey(UserApiKeysRequest userApiKey);
    boolean updateUserApiKey(UserApiKeyUpdateAndDeleteRequest userApiKey);
    boolean deleteUserApiKey(UserApiKeyUpdateAndDeleteRequest userApiKey);
    ModelApiKey getFieldsByModelId(Long  modelId);
    List<Model> findAllModels();
    List<Model> getModelsByName(String modelName);



}
